package com.product.magina.webserviceclient.testdemo;

import com.product.magina.webserviceclient.englist2chinese.com.EnglishChinese;
import com.product.magina.webserviceclient.englist2chinese.com.EnglishChineseSoap;

import java.util.List;

public class English2ChinTest {

//    @Test
    public void Translate(){

    }

    public static void main(String[] args) {
        EnglishChinese englishChinese = new EnglishChinese();//调用服务
        EnglishChineseSoap soap = englishChinese.getEnglishChineseSoap();//调用接口
        List<String> list1 = soap.translatorString("吃饭").getString();//调用接口中的方法，并传<span style="white-space:pre">									</span>//<span style="white-space:pre">	</span>递参数过去
        for(String s:list1){
            System.out.println(s);
        }
    }

}
